# yaml-schema

A Haskell library (and program) to validate YAML against a schema.
Unlike other libraries, yaml-validate contains a simple interface, and
can interact with files.

## Installation and usage

**This library is not finished yet. These instructions are for when the
library is finished.**

yaml-schema is written in Haskell, so you need the Haskell package
manager, `cabal`, and the Haskell compiler, `ghc` to install it. If you
don't have `ghc` and `cabal` installed, follow [bitemyapp's guide][1].

Ordinarily, I would just tell you how to install them myself, but it
varies quite a bit from OS to OS, and bitemyapp has it all documented.

To install yaml-schema, just run:

    cabal install aeson-validate

If you're developing a library, just add `yaml-schema` to the
`build-depends` field in your library's `.cabal` file.

## Contact

* Email: `peter@harpending.org`
* IRC: `pharpend` on FreeNode and OFTC

## Copyright

Copyright 2015 Peter Harpending

Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License.  You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

[1]: https://github.com/bitemyapp/learnhaskell#what-are-haskell-ghc-and-cabal
